package com.gdk.subject.application.convert;

import com.gdk.subject.application.dto.SubjectInfoDTO;
import com.gdk.subject.domain.entity.SubjectInfoBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @author Gudong~
 * @create 2024-10-21 16:01
 */

@Mapper
public interface SubjectInfoDTOConverter {

    SubjectInfoDTOConverter INSTANCE = Mappers.getMapper(SubjectInfoDTOConverter.class);

    SubjectInfoBO convertDTOToInfoBO(SubjectInfoDTO subjectInfoDTO);

    SubjectInfoDTO convertBOToInfoDTO(SubjectInfoBO subjectInfoDTO);


}
